package com.topisv.tms.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 实体bean
 * @author Administrator
 *
 */
@Entity
@Table(name="items")
public class Items extends IdEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long num_iid;// '商品数字id',
	private String detail_url;// '商品url',
	private String title;// '商品标题,不能超过60字节',
	private String nick;// '卖家昵称',
	private Long seller_id;// '卖家ID',
	private Date created;// 'Item的发布时间',
	private int num;// '商品数量',
	private Date list_time;// '上架时间（格式：yyyy-MM-dd HH:mm:ss）',
	private Date delist_time;// '下架时间（格式：yyyy-MM-dd HH:mm:ss）',
	private Date modified;// '商品修改时间（格式：yyyy-MM-dd HH:mm:ss）',
	private String approve_status;// '商品状态。onsale出售中，instock库中',
	private String outer_id;// '商家外部编码(可与商家外部系统对接)',
	private Boolean violation;// '商品是否违规，违规：true , 不违规：false',
	private Double price;// '商品价格，单位：元',
	private String property_alias;// '属性值别名,比如颜色的自定义名称',
	private String props_name;// '商品属性格式：pid:vid:pidName:vidName;pid:vid:pidName:vidName',
	private String input_pids;// '用户自行输入的类目属性ID串',
	private String input_str;// '用户自行输入的子属性名和属性值',
	private String pic_url;// '商品主图片地址',
	private Boolean has_showcase;// '橱窗推荐',
	private Date gmt_create;// '记录写入数据库的时间（精确到秒）',
	private Date gmt_modified;// '记录更新到数据库的时间（历史数据初始化时与业务数据的modified时间相同、精确到秒）',
	public Long getNum_iid() {
		return num_iid;
	}
	public void setNum_iid(Long num_iid) {
		this.num_iid = num_iid;
	}
	public String getDetail_url() {
		return detail_url;
	}
	public void setDetail_url(String detail_url) {
		this.detail_url = detail_url;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public Long getSeller_id() {
		return seller_id;
	}
	public void setSeller_id(Long seller_id) {
		this.seller_id = seller_id;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public Date getList_time() {
		return list_time;
	}
	public void setList_time(Date list_time) {
		this.list_time = list_time;
	}
	public Date getDelist_time() {
		return delist_time;
	}
	public void setDelist_time(Date delist_time) {
		this.delist_time = delist_time;
	}
	public Date getModified() {
		return modified;
	}
	public void setModified(Date modified) {
		this.modified = modified;
	}
	public String getApprove_status() {
		return approve_status;
	}
	public void setApprove_status(String approve_status) {
		this.approve_status = approve_status;
	}
	public String getOuter_id() {
		return outer_id;
	}
	public void setOuter_id(String outer_id) {
		this.outer_id = outer_id;
	}
	public Boolean getViolation() {
		return violation;
	}
	public void setViolation(Boolean violation) {
		this.violation = violation;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getProperty_alias() {
		return property_alias;
	}
	public void setProperty_alias(String property_alias) {
		this.property_alias = property_alias;
	}
	public String getProps_name() {
		return props_name;
	}
	public void setProps_name(String props_name) {
		this.props_name = props_name;
	}
	public String getInput_pids() {
		return input_pids;
	}
	public void setInput_pids(String input_pids) {
		this.input_pids = input_pids;
	}
	public String getInput_str() {
		return input_str;
	}
	public void setInput_str(String input_str) {
		this.input_str = input_str;
	}
	public String getPic_url() {
		return pic_url;
	}
	public void setPic_url(String pic_url) {
		this.pic_url = pic_url;
	}
	public Boolean getHas_showcase() {
		return has_showcase;
	}
	public void setHas_showcase(Boolean has_showcase) {
		this.has_showcase = has_showcase;
	}
	public Date getGmt_create() {
		return gmt_create;
	}
	public void setGmt_create(Date gmt_create) {
		this.gmt_create = gmt_create;
	}
	public Date getGmt_modified() {
		return gmt_modified;
	}
	public void setGmt_modified(Date gmt_modified) {
		this.gmt_modified = gmt_modified;
	}
}
